import paddle
from paddle import nn

class SimpleNet(nn.Layer):
    def __init__(self):
        super(SimpleNet, self).__init__()
        self.resnet = paddle.vision.models.resnet152(pretrained=True)

    def forward(self, images):
        features = self.resnet(images)
        return features
